package ooday03;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog = new Dog("小黑",1,"黑");
        dog.swim();

        Chick chick = new Chick("小黄",2,"黄");
        chick.layEggs();

        Fish fish = new Fish("小绿",2,"绿");
        fish.swim();
    }
}
